<!DOCTYPE html>
<html>
<head>
    <title>新建信息登记</title>
    <!--#include file="/html/common/head.html"-->
    <link rel="stylesheet" type="text/css" href="/css/questionnaire-management/questionnaire-management-add.css">
</head>
<body>
    <!--#include file="/html/common/header.html"-->
    <div class="page clearfix">
        <div class="holder">
            <div class="container"> 
                <div class="row">
                    <div class="col-sm-12">
                        <ol class="breadcrumb">
                            <li><a href="#"><i class="fa fa-home"></i>&nbsp;首页</a></li>
                            <li><a href="#">信息登记</a></li>
                            <li class="active">新建信息</li>
                        </ol>
                    </div>
                    <div class="col-sm-12">
                        <div class="panel panel-info">
                            <div class="panel-heading">
                                <h4>新建信息内容</h4>
                            </div>
                            <div class="panel-body col-sm-10 col-sm-offset-2 panel-major-body">
                                <form class="form-horizontal J_form" method="" action="">
                                    <input type="hidden" name="clientId" value="1">
                                    <div class="form-group">
                                        <label class="col-sm-2 control-label"><span class="requires">*</span>登记标题</label>
                                        <div class="col-sm-6-5">
                                            <input class="new500 J_title" type="text" name="title" value=""/>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-sm-2 control-label"><span class="requires">*</span>发布人</label>
                                        <div class="col-sm-6-5">
                                            <input class="new500 J_owner" type="text" name="owner" value=""/>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-sm-2 control-label J_fontStyle"><span class="requires">*</span>登记截止时间</label>
                                        <div class="col-sm-6-5 J_validStyle">
                                            <input id="endTime" class="Wdate new500 J_endTime" type="text" name="endTime" value="" onclick="WdatePicker({
                                            endDate:'%y-%M-01 00:00',
                                            dateFmt:'yyyy-MM-dd HH:mm',
                                            alwaysUseEndDate:true,
                                            readOnly:true,
                                            minDate:'%y-%M-%d'
                                        })" readonly="readonly" />
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-sm-2 control-label"><span class="requires">*</span>登记可见权限</label>
                                        <div class="selectRole">
                                            <div class="col-sm-2 selectRole">
                                                <select class="form-control J_selectRole ">
                                                    <option value="0">全部</option>
                                                    <option value="1">教师</option>
                                                    <option value="2">学生</option>
                                                </select>
                                            </div>
                                        </div>
                                        <div class="selectCourse hidden J_course">
                                            <label class="control-label ">科目</label>
                                            <div class="col-sm-2">
                                                <select class="form-control J_selectCourse">
                                                    <option value="0">请选择</option>
                                                    <option value="1">语文</option>
                                                    <option value="2">数学</option>
                                                    <option value="3">英语</option>
                                                </select>
                                            </div>
                                        </div>
                                        <div class="selectGrade hidden J_grade">
                                            <label class="control-label">年级</label>
                                            <div class="col-sm-2">
                                                <select  class="form-control J_selectGrade" id="selectGrade" multiple="multiple">
                                                    <option value="1">一年级</option>
                                                    <option value="2">二年级</option>
                                                    <option value="3">三年级</option>
                                                    <option value="4">四年级</option>
                                                    <option value="5">五年级</option>
                                                    <option value="6">六年级</option>
                                                </select>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-sm-2 control-label">登记介绍</label>
                                        <div class="col-sm-6-5">
                                            <textarea class="new500 newHeight80 J_content" type="text" name="content" value=""></textarea>
                                        </div>
                                    </div>
                                </form>

                                <!-- 问卷项 -->
                                <div class="panel panel-info box">
                                    <div class="top">
                                        <h4 class="top-left">问题1</h4>
                                        <span class="top-right top-right2 J_del">删除</span>
                                        <span class="top-right J_retract">收起</span>
                                        <span class="top-right top-right2 J_edit hidden">编辑</span>
                                    </div>
                                    <div class="panel-body panel-question"><!-- panel-question指问题panel，里边的子panel -->
                                        <form class="form-horizontal J_optionForm" method="" action="">
                                            <div class="form-group">
                                                <label class="col-sm-2 control-label"><span class="requires">*</span>问题名称</label>
                                                <div class="col-sm-4">
                                                    <input class="new220 J_questionTitle" type="text" name="questionTitle" value="1"/>
                                                </div>
                                            </div>
                                            <div class="form-group">
                                                <label class="col-sm-2 control-label"><span class="requires">*</span>问题填写要求</label>
                                                <div class="col-sm-4">
                                                    <textarea class="new220 J_requirement" type="text" name="requirement" value="">1</textarea>
                                                </div>
                                            </div>
                                            <div class="form-group optionType">
                                                <label class="col-sm-2 control-label" for="name"><span class="requires">*</span>答题形式</label>
                                                <div class="J_type">
                                                    <label class="radio-inline">
                                                        <input type="radio" name="optionsRadiosinline" class="optionsRadios" value="1" checked> 单选
                                                    </label>
                                                    <label class="radio-inline">
                                                        <input type="radio" name="optionsRadiosinline" class="optionsRadios"  value="2"> 多选
                                                    </label>
                                                    <label class="radio-inline">
                                                        <input type="radio" name="optionsRadiosinline" class="optionsRadios"  value="3"> 下拉框
                                                    </label>
                                                    <label class="radio-inline">
                                                        <input type="radio" name="optionsRadiosinline" class="optionsRadios"  value="4" /> 文本框
                                                    </label>
                                                    <label class="radio-inline">
                                                        <input type="radio" name="optionsRadiosinline" class="optionsRadios"  value="5" /> 文本域
                                                    </label>
                                                    <label class="radio-inline">
                                                        <input type="radio" name="optionsRadiosinline" class="optionsRadios"  value="6" /> 图片框
                                                    </label>
                                                </div>
                                            </div>
                                            <div class="form-group panel-option"><!-- panel-option指的是选项面板 -->
                                                <label class="col-sm-2 control-label optionName"><span class="requires">*</span>选项1</label>
                                                <div class="col-sm-4-7">
                                                    <input class="new220 J_option" type="text" name="option" value="1"/>
                                                    <a href="javascript:;" class="J_delOption">删除选项</a>
                                                </div>
                                            </div>
                                        </form>
                                        <hr>
                                        <a href="javascript:;" class="J_addOption col-sm-2  text-right"><i class="fa fa-plus "></i>&nbsp;添加选项</a>
                                    </div>
                                </div>
                            </div>
                            <div class="panel-footer">
                                <div class="row">
                                    <div class="col-sm-10 col-sm-offset-2">
                                        <div class="btn-toolbar margin-left">
                                            <button type="button" class="btn btn-default J_addQuestion addQuestion"><i class="fa fa-plus "></i>&nbsp;&nbsp;添加问题</button>
                                        </div>
                                    </div>
                                    <div class="col-sm-6 col-sm-offset-4-5">
                                        <div class="btn-toolbar">
                                            <button class="btn btn-success J_save" type="button"><i class="fa fa-save"></i>&nbsp;发布</button>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!--#include file="/html/common/footer.html"-->
    <script src="/js/tool/calendar/WdatePicker.js"></script>
    <script src="/js/register-management/register-management-add.js"></script>
    <link rel="stylesheet" type="text/css" href="/css/information-register-management/register-management-add.css">
</body>
</html>